struct ThriftExam{
    1: string name,
    2: i32 score
}
service ThriftPrinter{
void printResult(1: ThriftExam exam),
ThriftExam retrieve(1: string examName)
}